package apr24ch10ex1;

public class Person {

	public String name;
	private String surname;
	private String address;

	public Person(String name, String surname, String address) {
		setName(name);
		setSurname(surname);
		setAddress(address);
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getSurname() {
		return this.surname;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress() {
		return this.address;
	}

}
